﻿Public Class Form27

    Private Sub KetoantienmatBindingNavigatorSaveItem_Click(sender As System.Object, e As System.EventArgs) Handles KetoantienmatBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.KetoantienmatBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.ErpharmaDataSet)

    End Sub

    Private Sub Form27_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        Me.DmtaikhoannganhangTableAdapter.Fill(Me.ErpharmaDataSet.dmtaikhoannganhang)
        Me.DmnganhangTableAdapter.Fill(Me.ErpharmaDataSet.dmnganhang)
        Me.KetoantienmatTableAdapter.Fill(Me.ErpharmaDataSet.ketoantienmat)
        Me.KetoantienmatIUltraGrid.setThemIUltraDropDown(Me.DmnganhangIUltraDropDown, Me.ErpharmaDataSet.dmnganhang)
    End Sub

    Private Sub KetoantienmatIUltraGrid_AfterCellActivate(sender As Object, e As System.EventArgs) Handles KetoantienmatIUltraGrid.AfterCellActivate
      
    End Sub

    Private Sub KetoantienmatIUltraGrid_AfterCellUpdate(sender As Object, e As Infragistics.Win.UltraWinGrid.CellEventArgs) Handles KetoantienmatIUltraGrid.AfterCellUpdate
        If KetoantienmatIUltraGrid.ActiveRow.Cells("nghiepvu").IsActiveCell Then
            Me.KetoantienmatIUltraGrid.setIUltraDropDownFilter(Me.DmtaikhoannganhangIUltraDropDown, Me.ErpharmaDataSet.dmtaikhoannganhang, "nghiepvu", "manganhang")
        End If
    End Sub

    Private Sub KetoantienmatIUltraGrid_BeforeCellActivate(sender As Object, e As Infragistics.Win.UltraWinGrid.CancelableCellEventArgs) Handles KetoantienmatIUltraGrid.BeforeCellActivate
        
    End Sub

    Private Sub KetoantienmatIUltraGrid_BeforeCellDeactivate(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles KetoantienmatIUltraGrid.BeforeCellDeactivate
        
    End Sub
End Class